package com.zhc.dejingapi.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhc.dejingapi.entity.QingInjectionworkshopshiftsdetailEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class QingInjectionworkshopshiftsVo {
    @ApiModelProperty("表主键")
    @TableId(value = "main_id", type = IdType.AUTO)
    private Long mainId;

    @ApiModelProperty("记录时间")
    @TableField("writetime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime writetime;

    @ApiModelProperty("班次")
    @TableField("classes")
    private String classes;

    @ApiModelProperty("交班记录")
    @TableField("shiftsrecords")
    private String shiftsrecords;

    @ApiModelProperty("接班记录")
    @TableField("successionrecords")
    private String successionrecords;

    private List<QingInjectionworkshopshiftsdetailEntity> qingInjectionworkshopshiftsdetailEntityList;
}
